package com.wkbb.sports.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.dto.basic.DistrictDto;
import com.wkbb.sports.dto.*;

public interface StatisticsService {

    TrainAnalysisDto getTrainHomePage(Map<String, Object> params);

	TrainAnalysisDto getTrainHomePageKind(Map<String, Object> params);

	BCDTBasicDto getBCDTBasic(Map<String, Object> params);

	List<DistrictDto> getCityListByOrg();

	BCDTDto getBCDT(Map<String, Object> params);

	BCDTKindDto getBCDTByKind(Map<String, Object> params);

    BCDTNowKindDto getNowBCDTByKind(Map<String, Object> params);

    public enum Level{
		org,
		grade
	}
	
	List<TrainSummaryDto> queryTrainSummaryList(String arrays, Long gradeId)throws Exception;

	TrainStudentSummaryDto getTrainStudentSummary(String arrays)throws Exception;
	
	Map<Long, Double> queryTrainTimeList(String arrays, Level level)throws Exception;
	
	String getTrainIds(Map<String, Object> params) throws Exception;

	List<JumpGradeSummaryDto> queryTrainGradeSummaryList(String trianIds)throws Exception;

	List<JumpClassSummaryDto> queryTrainClassSummaryList(Map<String, Object> params)throws Exception;

	PageInfo<JumpTrainSummaryDto> queryTrainSummaryList4PC(Map<String, Object> params, int pageNo, int pageSize)throws Exception;

	JumpTrainSummaryDto getTrain(Map<String, Object> params)throws Exception;

	ProjectOrgAverageDto getOrgAverage(String trianIds)throws Exception;

	List<ProjectAverageDto> queryProjectAverageList(String trianIds)throws Exception;
	
	List<StatisticsAvgScoreDto> getAvgScoreTrand(Map<String, Object> params)throws Exception;

}
